-
-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(locale): normalize science data #2886
Conversation
✅ Deploy Preview for fakerjs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2886 +/- ##
==========================================
- Coverage 99.96% 99.95% -0.01%
==========================================
Files 2977 2977
Lines 215466 215466
Branches 950 946 -4
==========================================
- Hits 215380 215369 -11
- Misses 86 97 +11 |
Does freezing the locale entries here even make sense? |
I re-evaluated it and I'm a bit shocked as I thought that |
Description
Follow-on to #2265.
Normalize the entries in the
science
module definitions in all locales. All locale files are untouched as every locale entry file is currently an export of a readonly array of objects. We ignore readonly arrays (fromObject.freez
) during normalization.